<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>编号查询学生</title>

<style type="text/css">

	table{border: 1px;margin-left: 100px;margin-top: 100px;}
	tr{border: 1px;background-color: #ffbbaa}
	th{border: 1px;width: 80px;}

</style>

</head>
<body>
	<table>
		<tr><th>学生编号</th><th>用户名</th><th>密码</th><th>真实姓名</th><th>年龄</th><th>性别</th><th>班级</th>
		<th>家庭住址</th><th>联系电话</th><th>邮箱</th><th>代课老师</th><th>课程</th><th>分数</th></tr>
		<s:iterator value="#request.list" status="st" var="s">
			<tr>
				<th><s:property value="studentId"/></th>
				<th><s:property value="username"/></th>
				<th><s:property value="password"/></th>
				<th><s:property value="realName"/></th>
				<th><s:property value="age"/></th>
				<th><s:property value="sex"/></th>
				<th><s:property value="classes"/></th>
				<th><s:property value="address"/></th>
				<th><s:property value="phone"/></th>
				<th><s:property value="email"/></th>
				<th><s:property value="teacher.realName"/></th>
				<th><s:property value="course.name"/></th>
				<th><s:property value="mark"/></th>
			</tr>
		</s:iterator>
	</table>
</body>
</html>